package com.zzy.util;

import javax.servlet.http.HttpServletRequest;

/**Controller 报错后 跳转到error页面*/
public class UtilGoErrorPage {

    public static String goError(HttpServletRequest request, String msg){
        request.setAttribute("error","系统异常："+msg);
        return "page/errorpage/error.jsp";
    }

}
